www.gusucode.com > 55:【198-3904】绿色蔬菜水果产品类网站织梦模板(带手机端) > 55:【198-3904】绿色蔬菜水果产品类网站织梦模板(带手机端)/(带手机版数据同步)绿色蔬菜类网站源码 水果类企业/include/ckeditor/plugins/addon/plugin.js

    /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

/**
 * @file Image plugin
 */

CKEDITOR.plugins.add( 'addon',
{
	init : function( editor )
	{
		var pluginName = 'addon';

		// Register the dialog.
		CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/addon.js' );

		// Register the command.
		editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );

		// Register the toolbar button.
		editor.ui.addButton( 'Addon',
			{
				label : '附件',
				icon : 'http://desdevcms.com/images/addon.gif',
				command : pluginName
			});
	}
} );